package com.example.demo.serivce.impl;

import com.example.demo.bean.User;
import com.example.demo.dao.IUserDao;
import com.example.demo.serivce.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private IUserDao iUserDao;

    @Override
    public List<User> selectUser(Map<String, Object> map) {
        return iUserDao.select(map);
    }
}
